home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / SATELLIT / WPSDIS / WPS.DOC < prev    next >
Encoding:
Text File  |  1997-03-09  |  9.9 KB  |  291 lines

  1.  
  2.             W P S  ( W i s p  P o w e r  S a v e r ) 
  3.  
  4.         Software and hardware for power saving during unattended
  5.              satellite opertation with the WISP package.
  6.  
  7.                  (Free for Radio Amateurs, No Commercial Usage)
  8.  
  9.                       Walter Crauwels, ON4BCB (ex ON1AOT)
  10.  
  11.                     04/01/97
  12. Introduction:
  13. ------------
  14. As many Wisp users, unattendent satellite earth stations have always theire
  15. PC,tranceiver,powersupply,rotor controller,TNC,PA,etc.. powered up, 24h/24h,
  16. even if there is no satellite above the horizon for hours.
  17.  
  18. This costs you a lot of electricity over the year,and this is absolutly no
  19. good for your equipment. (i think we all agree !!!)
  20.  
  21. Therefor i designed a solution called WPS (Wisp Power Saver (C) )
  22.  
  23. WPS is a hardware circuit using a microcontroller which will switch off
  24. all your equipment during the time that there is no satellite above
  25. the horizon.
  26.  
  27. As soon as there is a satellite, WPS will wake up your complete hardware
  28. system (PC,tranceiver,powersupply,rotor controller,TNC,PA,etc..) a few
  29. minutes before AOS.
  30.  
  31. After LOS of the satellite it will shut down (sleep) your system after a user
  32. determinated time and wake's it up again before the next AOS.
  33.  
  34. You will have to specify in WPS.INI if you are using GSC 16 or 32 bit.
  35.  
  36. If WPS becomes popular we can ask Chris to implement the WPS.EXE directly
  37. into future versions of GSC.
  38. So you only will need the hardware.
  39. So as we all know Chris is verry busy,so let's write some mail to Chris
  40. if you enjoy WPS.
  41.  
  42. Copyright
  43. ---------
  44. WPS hard and software is copyright protected.
  45. WPS may be passed freely to others for the usage in Amateur Radio.
  46. It is not permitted for the Program to be used commercially
  47. or to be sold commercially.
  48.  
  49. A guarantee for a correct functioning will not be given. The User
  50. has no right of recourse, in the event of a Malfunction of WPS and/or
  51. their connected equipment to WPS.
  52.  
  53. Quick Start
  54. -----------
  55. - If you receive WPS.ZIP it will contain the following files:
  56.  
  57.    WPS.DOC        This documentation file 
  58.    WPS.INI        The initialisation file
  59.    WPS.EXE        The .EXE file
  60.    WPS_SCH.HPG        WPS hardware schematic in HPGL format
  61.    WPS_SCH.PCX        WPS hardware schematic in PCX format
  62.    WPS_SCH.JPG        WPS hardware schematic in JPG format
  63.    WPS_PCB.HPG        PCB layout in HGPL format    
  64.    WPS_PCB.PCX        PCB layout in PCX format
  65.    WPS_PCB.JPG        PCB layout in JPG format
  66.    WPS_SLK.HPG        PCB layout in HPG format
  67.    WPS_SLK.PCX        PCB layout in PCX format
  68.    WPS_SLK.JPG        PCB layout in JPG format
  69.    WPS.BOM        Parts list
  70.    HISTORY.TXT        Version history
  71.  
  72.    MSAFINX.DLL        Visual Basic DLL files
  73.    VBDB300.DLL
  74.    VBRUN300.DLL
  75.    THREED.VBX        Visual Basic VBX files
  76.    MSCOMM.VBX
  77.  
  78. Hardware setup and testing:
  79.  
  80. - Assemble the PCB and power it up (a green led will flash 3 times) 
  81. - Connect a RS232 FULL wired DB9 cable to the WPS hardware or make a cable:
  82.  
  83.     DB25: (PC)    DB9: (PC)    DB9 (WPS hardware)
  84.    Pin: 2        3        3 
  85.     7        5        5
  86.     8-20-6        1-4-6        -                  
  87.      5-4        7-8        -
  88.  
  89. - Use a small RS-232 Terminal program and set it for:
  90.   - 9600bd,8bits,no parity,1 stopbit,
  91.   - Comport where WPS is connected to.
  92.   
  93.   Send in capitals: WU@0001 <return>
  94.   Look directly to your WPS led, it will flash 2 times if it receives
  95.   the correct string,then it will wait 45sec,the led wil become RED,and
  96.   will become green again after 1 minute.
  97.   If you passed these tests, your hardware is working properly.
  98.  
  99. Setting up the software:
  100.  
  101. * GSC 16bit under WIN95 or WIN3.11 *
  102.  
  103. - Copy the following files to the \WINDOWS\SYSTEM directory.
  104.     - MSAFINX.DLL
  105.     - VBDB300.DLL
  106.     - VBRUN300.DLL
  107.     - THREED.VBX
  108.     - MSCOMM.VBX
  109. - Copy the following files to the C:\WPS directory. (This MUST BE C:\WPS
  110.   due to a problem in Shedule events from GSC16bit)
  111.  
  112.     - WPS.EXE
  113.     - WPS.DOC
  114.     - WPS.INI
  115.  
  116. - edit WPS.ini and set:
  117.   - your comport number and the path where Wisp.skd will be found 
  118.     (the file name wisp.skd will set WPS for GSC 16bit)
  119.   - set the SleepAfterLos time (This is the minimum time when WPS will shutdown
  120.     if no satellites are visible (Default: 180 Min)
  121.   - set the WakeUpBefore AOS time (Time before pass to wake up your system)
  122.     (Default 10 Min)
  123.  
  124.   Example for GSC 16bit:
  125.  
  126.     [global]
  127.     FileName=c:\wisp\wisp.skd    'Name and path of the shedule file(wisp.skd = 16bit GSC,wispsc~1.dat = 32bit GSC)
  128.     TZ=60                'Difference in minutes between UTC and local Time
  129.     SleepAfterLOS=180        'in minutes (default 180 Min)
  130.     WakeupBeforeAOS=10        'in minutes (default 10 Min)
  131.     CommPort=2            '1 = com1; 2 = com2 ...
  132.     Comm=9600,N,8,1            '9600 bps;no parity;8 databits;1 stopbit (do not change)
  133.     ExitWindows=1            'Exit Windows 0/1 (default 1)
  134.  
  135. - add the following to your autoexec.bat as last lines:
  136.     set TZ = LOC-1
  137.     WIN
  138.  
  139. - RUN  WPS.exe after every pass, setup a Schedule event in GSC
  140.     Name: Wisp Power Saver   
  141.     Program C:\WPS\WPS.EXE
  142.     Time: 2 Min
  143.     Run: After Pass
  144.     Associate: All Satellites
  145.       Satellite: None
  146.     Activate: Yes
  147.     Run Minimised: NO
  148.  
  149. - Connect a Relay to the open collector output from your WPS hardware
  150.   This relay will switch your equipment on or off
  151.  
  152. - Quit GSC and start up again
  153.  
  154. * GSC 32bit under WIN95 or WINNT *
  155.  
  156. - Copy the following files to the \WINDOWS\SYSTEM directory.
  157.     - MSAFINX.DLL
  158.     - VBDB300.DLL
  159.     - VBRUN300.DLL
  160.     - THREED.VBX
  161.     - MSCOMM.VBX
  162. - Copy the following files to the C:\WPS directory. (This MUST BE C:\WPS
  163.   due to a problem in Shedule events from GSC 16bit)
  164.  
  165.     - WPS.EXE
  166.     - WPS.DOC
  167.     - WPS.INI
  168.  
  169. - edit WPS.ini and set:
  170.   - your comport number
  171.   - the path where wispsc~1.dat will be found
  172.     (the file name wispsc~1.dat will set WPS for GSC 32bit)
  173.   - set the SleepAfterLos time (This is the minimum time when WPS will shutdown
  174.     if no satellites are visible (Default: 180 Min)
  175.   - set the WakeUpBefore AOS time (Time before pass to wake up your system)
  176.     (Default 10 Min)
  177.  
  178.   Example for GSC 32bit:
  179.  
  180.     [global]
  181.     FileName=c:\wisp\wispsc~1.dat    'Name and path of the shedule file(wisp.skd = 16bit GSC,wispsc~1.dat = 32bit GSC)
  182.     TZ=60                'Difference in minutes between UTC and local Time
  183.     SleepAfterLOS=180        'in minutes (default 180 Min)
  184.     WakeupBeforeAOS=10        'in minutes (default 10 Min)
  185.     CommPort=2            '1 = com1; 2 = com2 ...
  186.     Comm=9600,N,8,1            '9600 bps;no parity;8 databits;1 stopbit (do not change)
  187.     ExitWindows=1            'Exit Windows 0/1 (default 1)
  188.  
  189. - add the following to your autoexec.bat as last lines:
  190.     set TZ = LOC-1
  191.     WIN
  192.  
  193. - RUN  WPS.exe after every pass, setup a Schedule event in GSC
  194.     Name: Wisp Power Saver   
  195.     Program WPS.EXE
  196.     Program path: C:\WPS
  197.     Time: 2 Min
  198.     Run: After Pass
  199.     Associate: All Satellites
  200.       Satellite: None
  201.     Activate: Yes
  202.     Run Minimised: NO
  203.  
  204. - Connect a Relay to the open collector output from your WPS hardware
  205.   This relay will switch your equipment on or off
  206.  
  207. - Quit GSC and start up again
  208.  
  209. Principle of Operation
  210. ----------------------
  211. As your PC boots, Windows will be started, GSC (16bit) will be running.
  212. After the first PASS WPS.EXE is called, it will check if there is a new
  213. pass within "Sleep after LOS" specified in WPS.ini 
  214. ex: Current time is 20:00 , Sleep after LOS is 120 minutes
  215. If there is a pass within the next 120 minutes WPS will close and do nothing
  216. If there is no pass within the next 120 minutes WPS will send a time string
  217. to your WPS hardware.
  218. Then it will close all your open windows and exit windows.
  219. BE CAREFULL that there are NO DOS WINDOWS open, it is not possible to
  220. close DOS applications automaticly !!!
  221. ex: Current time is 20:00 , Sleep after LOS is 120 minutes, Wake up before AOS
  222.     is 10 minutes, next pass will be at 23:45.
  223.     WPS time string will be: 23:45 - 20:00 - 10 min = 215 min
  224. As soon as WPS hardware receives the time string, it will wait 45 sec
  225. and will power down your complete system.
  226. AT 23:35 (23:45 - 10 min) WPS will wake up your complete system,
  227. Your PC will boot and start all over.
  228.  
  229. WPS hardware:
  230. ------------
  231.  
  232. The WPS hardware consists of a Microcontroller which handles the time
  233. string sended by WPS.EXE.
  234. It is connected to a serial Port,trough a DB9 FULLY wired cable.
  235. It has a Bi-color led which shows the status (Sleep/Wakeup).
  236. The output is an open-collector type,so that you can connect a Relay
  237. or solide state relay to switch the mains of your equipment.
  238. WPS has a pushbutton to wakeup your equipment if it is sleeping.
  239.  
  240.  
  241. Where can i Get WPS ?
  242. -------------------
  243. WPS is NOT available as a kit, schematic's and PCB layout are included
  244. in the distribution file.
  245.  
  246. You can only obtain a programmed micro controller by me. 
  247.  
  248. The price of the programmed microcontroller will be 10 US dollar + shipping
  249.  
  250. Shipping: Benelux: 2 Dollar (50 BFR)
  251.           Europe:  3 Dollar (100 BFR)
  252.           World:   5 Dollar (150 BFR)
  253.  
  254. I only accept cash money in US Dollar or Belgian Franks
  255.  
  256. Anyone who has problems to get the other parts, should send me a message
  257. and i will see what i can do.
  258.  
  259. Walter Crauwels ON4BCB
  260. Waversesteenweg 210
  261. B-2500 Lier
  262. Belgium
  263. AX25:    ON4BCB @ ON1ANR-5
  264. Email:    ON4BCB@mail.dma.be
  265. URL:    www.bewoner.dma.be/ON4BCB
  266.  
  267. Please particularly observe the foregoing Text!  I make no financial
  268. gain, it is not possible for me to pay the postage and other costs out of
  269. my own pocket.
  270.  
  271. A special thank goes to: 
  272.  
  273. Guy Roelant ON1BHM for writing my idea into an EXE file
  274. Erwin Wuyts ON7VN for future beta testing under WIN95 32bit
  275. Frank Saudemont ON4CCF for beta testing the soft and hardware under WIN95
  276. Julien Goethals ON6GJ for beta testing the soft and hardware under W3.11
  277. Willy Wittesaele ON1AWU for the first tests with the microcontroller
  278. Dirk Collone ON1AEI for the first software version
  279.  
  280. Warning: !!!
  281. ------------
  282. IT is NOT good to switch electronic devices ON and OFF several times a day
  283. So do NOT set "Sleep After LOS" to fast.
  284. The idea of WPS was to switch off your system during the long periodes
  285. without passes (5 and 10 hours).
  286. So normally WPS will shutdown once a day, which is no problem, as we
  287. manually switch on our system 1 or 2 times a day.
  288.  
  289. 73s from Walter, ON4BCB @ ON1ANR-5      
  290.  
  291.